Piwik\Plugins\API\ProcessedReport D

Total Complexity 174
Dependencies 21
Dependents 2
Total lines 707
Lines of code 491
Logical lines of code 327
Comment lines 189
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
handleSimpleDataTable()
B
36 23 73
getReportMetadata()
B
35 22 78
getProcessedReport()
B
39 19 52
getMetadata()
A
47 16 32
handleTableReport()
A
43 14 47
calculateTotals()
A
47 14 33
buildReportMetadataCacheKey()
A
52 13 22
hideShowMetricsWithParams()
A
51 11 28
getPrettyValue()
A
51 11 24
translateMetric()
S
60 6 12
removeEmptyColumns()
S
59 4 15
getReportMetadataByUniqueId()
S
67 3 8
getIdGoalToUseForActionsReports()
S
70 2 6
getColumnsToKeep()
S
65 2 9
getComparisonColumns()
S
67 2 7
getImplodedArray()
S
67 2 8
hideShowMetrics()
S
67 2 8
getColumnsToRemove()
S
68 2 7
aggregateReportTotalValues()
S
67 2 8
sortReports()
S
77 1 3
isValidMetricForReport()
S
74 1 4
isValidReportForSite()
S
75 1 4
__construct()
S
81 1 3